package com.dk.academic.service.impl;

import com.dk.academic.mapper.UserMapper;
import com.dk.academic.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: 廉雪峰
 * @Date: 2019/1/10 16:18
 * @Version 1.0
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public String getPassword(String username) {
        return userMapper.getPassword(username);
    }

    @Override
    public String getRole(String username) {
        return userMapper.getRole(username);
    }
}
